﻿using eGrid_App;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;

namespace GISforTT_Test
{
    
    
    /// <summary>
    ///This is a test class for BookmarkInfoTipMockTest and is intended
    ///to contain all BookmarkInfoTipMockTest Unit Tests
    ///</summary>
    [TestClass()]
    public class BookmarkInfoTipMockTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        /// <summary>
        ///A test for BookmarkInfoTipMock Constructor
        ///</summary>
        [TestMethod()]
        public void BookmarkInfoTipMockConstructorTest()
        {
            BookmarkPin pin = new BookmarkPin(new System.Windows.Point(100, 200));
            BookmarkInfoTipMock target = new BookmarkInfoTipMock(pin);

            Assert.AreSame(pin, target.getBookmarkPin());
            Assert.AreEqual(target.Get_TT_Num(), pin.Bookmark.ID);
            Assert.AreEqual(target.Get_TT_SEV(), pin.Bookmark.getBookmarkPriorityString());
            Assert.AreEqual(target.Get_TT_DES(), pin.Description);
            Assert.AreEqual(target.Get_TT_LOC(), pin.Bookmark.MapCoordinate.ToString());
        }

        /// <summary>
        ///A test for BookmarkInfoTipMock Constructor
        ///</summary>
        [TestMethod()]
        public void BookmarkInfoTipMockConstructorTest1()
        {
            ScatterLayer parent = null; // TODO: Initialize to an appropriate value
            BookmarkPin pin = null; // TODO: Initialize to an appropriate value
            BookmarkInfoTipMock target = new BookmarkInfoTipMock(parent, pin);
            Assert.Inconclusive("TODO: Implement code to verify target");
        }

        /// <summary>
        ///A test for ChangePriority
        ///</summary>
        [TestMethod()]
        [DeploymentItem("eGrid_App.exe")]
        public void ChangePriorityTest()
        {
            PrivateObject param0 = null; // TODO: Initialize to an appropriate value
            BookmarkInfoTipMock_Accessor target = new BookmarkInfoTipMock_Accessor(param0); // TODO: Initialize to an appropriate value
            int newValue = 0; // TODO: Initialize to an appropriate value
            target.ChangePriority(newValue);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for HideWindow
        ///</summary>
        [TestMethod()]
        [DeploymentItem("eGrid_App.exe")]
        public void HideWindowTest()
        {
            PrivateObject param0 = null; // TODO: Initialize to an appropriate value
            BookmarkInfoTipMock_Accessor target = new BookmarkInfoTipMock_Accessor(param0); // TODO: Initialize to an appropriate value
            target.HideWindow();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for OpenMapFrame
        ///</summary>
        [TestMethod()]
        [DeploymentItem("eGrid_App.exe")]
        public void OpenMapFrameTest()
        {
            PrivateObject param0 = null; // TODO: Initialize to an appropriate value
            BookmarkInfoTipMock_Accessor target = new BookmarkInfoTipMock_Accessor(param0); // TODO: Initialize to an appropriate value
            target.OpenMapFrame();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for SwitchToEditMode
        ///</summary>
        [TestMethod()]
        [DeploymentItem("eGrid_App.exe")]
        public void SwitchToEditModeTest()
        {
            PrivateObject param0 = null; // TODO: Initialize to an appropriate value
            BookmarkInfoTipMock_Accessor target = new BookmarkInfoTipMock_Accessor(param0); // TODO: Initialize to an appropriate value
            target.SwitchToEditMode();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for SwitchToViewMode
        ///</summary>
        [TestMethod()]
        [DeploymentItem("eGrid_App.exe")]
        public void SwitchToViewModeTest()
        {
            PrivateObject param0 = null; // TODO: Initialize to an appropriate value
            BookmarkInfoTipMock_Accessor target = new BookmarkInfoTipMock_Accessor(param0); // TODO: Initialize to an appropriate value
            target.SwitchToViewMode();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
    }
}
